﻿<%@ Page Title="Share MSDN Online" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="AppShare.Web.Default" %>

<%@ OutputCache Duration="7200" VaryByParam="none" VaryByCustom="Browser" %>
<asp:Content ContentPlaceHolderID="HeaderContent" runat="server">
    <!-- Script -->
    <script src="scripts/core.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <div id="BPDownloadsListDiv">
        <table class="mainTable">
            <tbody>
                <tr>
                    <td class="TocList">
                        <table border="0" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td class="srHearderTd">
                                        <div class="searchHeader">
                                            Search Products
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table>
                                            <tbody>
                                                <tr>
                                                    <td>
                                                        <input class="initSrcTxt" size="25" disabled />
                                                    </td>
                                                    <td>
                                                        <a id="aSrcImg" class="srchImg" href="javascript:void(0);">
                                                            <img runat="server" style="border: white 1px solid" src="~/App_Themes/Classic/content/search.gif"
                                                                alt="" /></a>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                        <br />
                                        <div class="tocArea">
                                            <asp:Repeater runat="server" DataSourceID="tocODS">
                                                <ItemTemplate>
                                                    <span class="ParentTocNode" onclick="ShowProduct(this)">
                                                        <img runat="server" src="~/App_Themes/Classic/content/tree_closed.gif" alt="" /><span
                                                            class="nodeText"><%# Eval("CategoryName")%></span> (<%# Eval("Families.Length")%>)
                                                        <div class="ChildTocNodes">
                                                            <ul style="display: none">
                                                                <asp:Repeater runat="server" DataSource='<%# Eval("Families")%>'>
                                                                    <ItemTemplate>
                                                                        <li id="<%# Eval("FamilyId")%>" onclick="OnFamilySelected(event,this,<%# Eval("FamilyId")%>)">
                                                                            <%# Eval("FamilyName")%></li>
                                                                    </ItemTemplate>
                                                                </asp:Repeater>
                                                            </ul>
                                                            <ul />
                                                        </div>
                                                    </span>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:ObjectDataSource ID="tocODS" runat="server" SelectMethod="GetProductList" TypeName="AppShare.Web.SharedUtil" />
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                    <td class="ProductFamilyDetailsTd">
                        <div class="Filter">
                            <div>
                                <table width="100%">
                                    <tbody>
                                        <tr>
                                            <td class="DownloadsTD">
                                                <div class="DownloadsHeader">
                                                    Downloads
                                                </div>
                                            </td>
                                            <td class="FilterTD">
                                                <table>
                                                    <tbody>
                                                        <tr>
                                                            <td class="DropDownTD">
                                                                <div class="DropDownDiv">
                                                                    <div class="DDFlyoutStatic">
                                                                        <span>Languages: </span>
                                                                        <select style="width: 250px" id="stLang" onchange="OnLocaleChanged(this)">
                                                                            <option value="-1">Show All Languages</option>
                                                                            <option value="1025">Arabic (Saudi Arabia)</option>
                                                                            <option value="3076">Chinese (Hong Kong S.A.R.)</option>
                                                                            <option value="2052">Chinese (People's Republic of China)</option>
                                                                            <option value="1028">Chinese (Taiwan)</option>
                                                                            <option value="1029">Czech (Czech Republic)</option>
                                                                            <option value="1030">Danish (Denmark)</option>
                                                                            <option value="1043">Dutch (Netherlands)</option>
                                                                            <option value="2057">English (United Kingdom)</option>
                                                                            <option value="1033">English (United States)</option>
                                                                            <option value="1035">Finnish (Finland)</option>
                                                                            <option value="1036">French (France)</option>
                                                                            <option value="1031">German (Germany)</option>
                                                                            <option value="1032">Greek (Greece)</option>
                                                                            <option value="1037">Hebrew (Israel)</option>
                                                                            <option value="1038">Hungarian (Hungary)</option>
                                                                            <option value="1040">Italian (Italy)</option>
                                                                            <option value="1041">Japanese (Japan)</option>
                                                                            <option value="1042">Korean (Korea)</option>
                                                                            <option value="0">Multi-Language</option>
                                                                            <option value="1044">Norwegian, Bokmål (Norway)</option>
                                                                            <option value="1045">Polish (Poland)</option>
                                                                            <option value="1046">Portuguese (Brazil)</option>
                                                                            <option value="2070">Portuguese (Portugal)</option>
                                                                            <option value="1049">Russian (Russia)</option>
                                                                            <option value="3082">Spanish (Spain)</option>
                                                                            <option value="1053">Swedish (Sweden)</option>
                                                                            <option value="1055">Turkish (Turkey)</option>
                                                                        </select>
                                                                    </div>
                                                                </div>
                                                                <input id="LangValue" type="hidden" value="0" />
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="ProductFamilyDetails">
                            <div>
                                <br />
                                <div style="display: inline" id="SearchDiv">
                                    <table cellpadding="1" cellspacing="0" border="0" class="ProductDetailsIntroTable">
                                        <tr>
                                            <td width="100%" class="ProductDetailsHeader">
                                                &nbsp;<span>Product Search</span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <br />
                                                <table width="100%">
                                                    <tr>
                                                        <td width="10">
                                                            &nbsp;
                                                        </td>
                                                        <td>
                                                            <span class="ProductDetailsIntroText">There is no record match the current search criteria
                                                            </span>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <br />
                                                <br />
                                                <br />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <div style="display: none" id="ResultsDiv" />
                            </div>
                            <div style="display: none" id="spinner" class="LoadingDiv" align="center">
                                <table class="LoadingDiv" border="0">
                                    <tbody>
                                        <tr>
                                            <td valign="middle" align="center">
                                                <span class="FileDetailsLabelText">Loading, please wait...</span>
                                                <br />
                                                <br />
                                                <img runat="server" alt="" src="~/App_Themes/Classic/content/ani_loading.gif" />
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div id="toolTip" class="ToolTip">
                            </div>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div style="display: none" id="accelerate">
        <img id="iClosed" clientidmode="Static" runat="server" src="~/App_Themes/Classic/content/tree_closed.gif"
            alt="" />
        <img id="iOpen" clientidmode="Static" runat="server" src="~/App_Themes/Classic/content/tree_open.gif" alt="" />
        <img runat="server" src="~/App_Themes/Classic/content/bullet.gif" alt="" />
        <img runat="server" src="~/App_Themes/Classic/content/details.gif" alt="" />
        <img runat="server" src="~/App_Themes/Classic/content/download_off.gif" alt="" />
        <img runat="server" src="~/App_Themes/Classic/content/download_on.gif" alt="" />
    </div>
</asp:Content>
